<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2、选择器</title>
    <style>
        [type='text']{
            width: 200px;
        }
        [type='password']{
            width: 300px;
        }
    </style>
</head>
<body>
    <h1>属性选择器</h1>
    <input type="text" name="" id="">
    <input type="password" name="" id="">

    <p>css匹配规则->从右到左/从下到上</p>
</body>
</html>